package oaSystem.entity;

import java.util.ArrayList;
import java.util.List;

public class Function {
	private Integer id;
	private String name;
	private String code;
	private Boolean isMenultem;
	private String menuLog;
	private String menuEntry;
	private Integer parentId;
	private List<Function> children = new ArrayList<Function>();
	private List<Function> pageChildren = new ArrayList<Function>();
	
	public List<Function> getPageChildren() {
		return pageChildren;
	}
	public void setPageChildren(List<Function> pageChildren) {
		this.pageChildren = pageChildren;
	}
	public List<Function> getChildren() {
		return children;
	}
	public void setChildren(List<Function> children) {
		this.children = children;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Boolean getIsMenultem() {
		return isMenultem;
	}
	public void setIsMenultem(Boolean isMenultem) {
		this.isMenultem = isMenultem;
	}
	
	public String getMenuLog() {
		return menuLog;
	}
	public void setMenuLog(String menuLog) {
		this.menuLog = menuLog;
	}
	public String getMenuEntry() {
		return menuEntry;
	}
	public void setMenuEntry(String menuEntry) {
		this.menuEntry = menuEntry;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public Function() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Function(Integer id, String name, String code, Boolean isMenultem, String menuLog, String menuEntry,
			Integer parentId) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.isMenultem = isMenultem;
		this.menuLog = menuLog;
		this.menuEntry = menuEntry;
		this.parentId = parentId;
	}
	public Function(Integer id) {
		super();
		this.id = id;
	}
	
	
	
	
}
